Error Codes

The standard error codes returned by the HSM to the Host are listed in the table.

Code

Description

00

No errors.

01

Verification failure or warning of imported key parity error

02

Key inappropriate length for algorithm

04

Invalid key type code.

05

Invalid key length flag.

10

Source key parity error.

11

Destination key parity error or key all zeros

12

Contents of user storage not available. Reset, power-down or overwrite.

13

Master Key parity error.

14

PIN encrypted under LMK pair 02-03 is invalid.

15

Invalid input data (invalid format, invalid characters, or not enough data provided).

16

Console or printer not ready or not connected.

17

HSM not in the Authorized state, or not enabled for clear PIN output, or both.

18

Document format definition not loaded.

19

Specified Diebold Table is invalid.

20

PIN block does not contain valid values.

21

Invalid index value, or index/block count would cause an overflow condition.

22

Invalid account number.

23

Invalid PIN block format code.

24

PIN is fewer than 4 or more than 12 digits in length.

25

Decimalisation table error.

26

Invalid key scheme

27

Incompatible key length

28

Invalid key type

29

Key function not permitted

30

Invalid reference number.

31

Insufficient solicitation entries for batch.

33

LMK key change storage is corrupted.

40

Invalid checksum.

41

Internal hardware/software error: bad RAM, invalid error codes, etc.

42

DES failure.

80

Data length error. The amount of MAC data (or other data) is greater than or less than the expected amount.

90

Data parity error in the request message received by the HSM.

91

Longitudinal Redundancy Check (LRC) character does not match the value computed over the input data (when the HSM has received a transparent async packet).

92

The Count value (for the Command/Data field) is not between limits, or is not correct (when the HSM has received a transparent async packet).

 

 



[1] HSM terminology for UDK-A is *DK-AC. This is the card-unique key derived from *MK-AC, the Master Key for Application Cryptograms.

[2] HSM terminology for UDK-A is *DK-AC. This is the card-unique key derived from *MK-AC, the Master Key for Application Cryptograms.